Electromagnetic ranging with azimuthal electromagnetic logging tool

ABSTRACT

Apparatus, systems, and methods for ranging operate to use a wireline active ranging system to initially determine a relative distance and relative direction from a first well (e.g., ranging well) to a second well (e.g., target well) and an EM azimuthal logging tool to maintain or adjust the distance from the target well while drilling the ranging well. Additional apparatus, systems, and methods are disclosed.

PRIORITY APPLICATIONS

This application is a U.S. National Stage Filing under 35 U.S.C. 371 from International Application No. PCT/US2014/072742, filed on Dec. 30, 2014, which application is incorporated herein by reference in its entirety.

BACKGROUND

Magnetic ranging provides relative direction and distance of one well with respect to another. Several technologies for ranging are based upon launching a current at a known frequency from the earth's surface down the casing of a target well and receiving a signal radiated from that casing in a ranging well. Other types of excitation, such as injecting a current at a depth below the surface, are also used in the ranging technologies.

Such ranging operations may use a wireline tool to provide both relative direction and distance from the ranging well to the target well. During a drilling operation, the drill string is removed from the ranging well and the wireline tool is inserted in order to continually update the relative distance and direction of the ranging well to the target well. This may result in increased drilling time and greater cost due to the expense of repeatedly removing the drill string to insert the wireline tool.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing an azimuthal electromagnetic (EM) logging tool according to various embodiments of the invention.

FIG. 2 is a flowchart showing methods for magnetic ranging in accordance with various embodiments of the invention.

FIG. 3 is a diagram of wireline and drilling systems using target well ranging according to various embodiments of the invention.

DETAILED DESCRIPTION

Many embodiments described herein operate to provide information that assists in determining relative distance and direction to one well, such as a well being drilled, to another well. For example, such embodiments can be used when determining the location of a target well in relation to a ranging well.

A “target well” may be defined herein as a well, the location of which is to be used as a reference by another well. The other well may be defined as a “ranging well”. Other embodiments may reverse this terminology since the embodiments are not limited to any one well-being the target well and any one well-being the ranging well.

Some embodiments use a wireline active ranging system to determine a relative distance and relative direction from a first well (e.g., ranging well) to a second well (e.g., target well) until the ranging well reaches a desired distance. Thereafter, a logging while drilling (LWD) azimuthal electromagnetic (EM) logging system is used to maintain or adjust (e.g., increase, decrease) the desired distance while drilling. The desired distance may be defined as the distance at which the azimuthal EM logging tool can accurately track the target well. This distance may vary depending on the frequency used by the logging tool as well as the desired accuracy. A wireline operation may use the azimuthal EM logging tool for determining a range to a target well while the drilling operation may use the tool for ranging while drilling the ranging well.

The wireline ranging system is first used to provide distance and direction to the second well (target well) since it can provide a higher accuracy in determination of distance and longer range detection based on gradient measurements with very low operating frequency. However, since the wireline uses multiple trip-in and trip-out drilling activities to achieve the desired ranging requirements, the azimuthal EM logging system is introduced to guide the logging tool in the correct direction relative to the target well or to maintain a desired direction relative to the target well. Such azimuthal measurements are sensitive to the formations surrounding the tool as well as to the conductive casing in the target well. This combination of two systems can be utilized for three types of ranging applications: 1) well ranging with a desired and fixed separation, 2) well intersection, and 3) well avoidance. These examples will now be described in more detail.

FIG. 1 is a diagram showing an azimuthal electromagnetic (EM) logging tool 100 according to various embodiments of the invention. The logging tool 100 includes at least one transmit coil antenna 102 and at least one receive coil antenna 101 separated axially along the tool body 100. An embodiment may include one transmit coil antenna 102 and multiple receive coil antennas 101, 103.

At least one of the antennas 101, 102 of the azimuthal EM logging tool 100 may be tilted with respect to the longitudinal axis of the tool 100. FIG. 1 shows different tilted positions 110, 111 for the receive antenna 101 and different tilted positions 121, 122 for the transmit antenna. The receive antenna 101 may be tilted by an angle θ_(r) (e.g., 45°) and the transmit antenna 102 may be tilted by an angle θ_(t) (e.g., 45°). These angles do not have to be equal. The antenna tilt enables an increase in azimuthal sensitivity. Having only one of the transmitter or receiver tilted provides a small but measurable sensitivity to the target well casing. Having both transmitter and the receiver tilted provides substantially higher sensitivity to the target well casing.

FIG. 2 is a flowchart showing methods for magnetic ranging in accordance with various embodiments of the invention. In many embodiments, a method begins at block 201, where a wireline ranging system is lowered into the ranging well. The wireline ranging system operates first to take EM ranging measurements, in block 203, and then to calculate a relative direction and distance to the target well, in block 205. This calculated relative direction and distance are used subsequently when the azimuthal EM logging tool is used, to determine if they are within a desired range, as determined by a frequency used by the azimuthal logging tool to take electromagnetic measurements. The ranging may be accomplished in various ways.

In LWD ranging applications, an oscillating magnetic field may be induced in the target well. This can be achieved using an EM source, such as the transmit antenna 102 of FIG. 1, transmitting an EM signal in the drilling well to induce current signals in the target well due to conductive casing properties in the target well. Received EM azimuthal signals corresponding to the induced current signals, as received by the receive antenna 101 of FIG. 1, may be used to calculate the relative distance and direction from the ranging well to the target well. In wireline ranging applications, the current signals may be directly applied to the target well at surface or applied to the ranging well so that current flows from the ranging well to the target well through formations downhole. The receivers in the ranging well may be used to determine the magnetic fields due to the current signals in the target well to determine the relative distance and direction between the two wells.

In block 207, it is determined when the calculated distance is within a desired detection range. For example, the desired detection range may be a detection range in which the azimuthal EM tool may be able to accurately track the target well (i.e., the signal from the target well is substantially larger than the measurement error—large enough to provide a desired ranging accuracy with respect to the distance between the wells). For example, the distance at which the range accuracy is within 10 percent of the actual value may be chosen as the desired detection range. If the calculated distance is not approximately equal to, or less than, the desired detection range, the method continues to block 209 where the well ranging continues using the wireline system between drilling operations. Thus, the method loops through blocks 203-207 until the calculated distance has decreased to be within the bounds (i.e., equal to or less than) of the desired detection range.

The azimuthal EM tool may be used when the relative calculated distance has been reduced to approximately the desired detection range. In block 211, the wireline logging system may then be removed from the ranging well and the azimuthal EM tool is used to replace it. The azimuthal EM logging tool is part of the drill string and may be used to maintain or adjust the relative distance between the ranging well and the target well. Use of the azimuthal EM logging tool for ranging, as opposed to a wireline logging system, may yield an advantage since the azimuthal EM logging tool measurements may be made while drilling, thus resulting in time and cost savings.

Various embodiments may be applied to different types of ranging applications. For example, one type of ranging includes acquiring a fixed separation between the ranging well (e.g., drilling well) and the target well within a particular depth range and maintaining that fixed separation during the drilling operations. This type of ranging may be useful for applications such as paralleling the target well path with the ranging well in order to perform a Steam-Assisted Gravity Drainage (SAGD) operation.

Another type of ranging includes acquiring the relative direction from the ranging well (e.g., drilling well) to the target well such that one can intersect the target well, or avoid the target well, as desired. In this type of ranging, the azimuthal EM logging tool provides directions in real-time to the drilling system in order to steer the drill bit toward, or away from, the target well. Once the distance has decreased sufficiently, the azimuthal EM logging tool itself is capable of providing distance/direction from the drilling well to the target well for as long as the separation between the two wells is within detection range of the EM system.

In block 213, the azimuthal EM logging tool operates at the same measured depth as the last wireline measurement so that EM measurements are taken, and compared in block 215 with the calculated distance and direction from the wireline system (acquired as part of the activity for block 205 of the method). In block 217, the relative direction and distance to the target well may be obtained to calibrate LWD ranging and azimuth calculations obtained from the wireline system. In block 219, the azimuthal EM logging tool may be used for well ranging to provide relative direction and distance between the two wells without using the wireline logging system.

The calibration of the LWD signal to distance can be accomplished by collecting a number of distance measurements using both the wireline logging tool and the azimuthal EM logging tool, and estimating the parameters of a calibration function. If the wireline range measurements are denoted as d_(w)(z_(i)) at depth z_(i) and the azimuthal EM tool range measurements are denoted as d_(l)(z_(i)) at depth z_(i), a mapping function ƒ, with mapping parameter vector p can be constructed to map any LWD data to wireline data as follows: d _(w)(z _(i))=ƒ(d _(l)(z _(i)),p)  (1)

Parameter vector p can be found by looking for the value of p that minimizes the mismatch between the wireline data and mapped LWD data as follows: p=argmin_(p)(d _(w)(z _(i))−ƒ(d _(l)(z _(i)),p))  (2)

Once the value of the p vector is calculated, any subsequent azimuthal EM logging tool measurements can be calibrated as follows: d _(lcal)(z _(i))=ƒ(d _(l)(z _(i)),p)  (3) where d_(lcal)(z_(i)) is the corrected LWD range measurement at depth z_(i).

One selection for mapping function ƒ, among others that may be made, is as follows. In this case, the selection provides the equivalent to a multiplicative correction where A is an azimuth measurement: ƒ(A,p)=Ap  (4)

The values for the azimuth to the target well may be corrected the same way as described above, using a different mapping function and a parameter vector. In the case of azimuth, an additive correction of the form ƒ(A, p)=A+p may be used. Other forms of mapping parameter vector p as function of azimuth angle ϕ, such as ƒ(A, p, ϕ)=A(ϕ)p(ϕ) or ƒ(A, p, ϕ)=A(ϕ)+p(ϕ), may be used in the mapping function. It is noted here that the calibration may be applied multiple times in case there are expected/measured changes in the target casing properties (i.e., casing or tubing diameter or thickness changes based on well completion history of the target). Calibration may also be re-applied when abnormalities in the signal are observed (i.e., abrupt and unexpected shifts, large amounts of noise).

FIG. 3 is a diagram of wireline 365 and drilling 364 systems using target well ranging according to various embodiments of the invention. The wireline system 365 may use a wireline ranging tool (e.g., azimuthal EM logging tool 100) for determining a range to a target well while the drilling system 364 may use the azimuthal EM logging tool 100 for ranging while drilling the ranging well.

Either of the wells 306, 390 may be the ranging well while the other is the target well. However, for purposes of illustration, the well 306 shown under construction is the ranging well as it is being constructed to range from the other well 390 (i.e., target well).

Drilling of oil and gas wells is commonly carried out using a string of drill pipes connected together so as to form a drilling string that is lowered through a rotary table 310 into a wellbore or borehole 312. A system 364 may form a portion of a drilling rig 302 located at the surface 304 of a well 306. The drilling rig 302 may provide support for a drill string 308. The drill string 308 may operate to penetrate a rotary table 310 for drilling a borehole 312 through subsurface geological formations 314. The drill string 308 may include a Kelly 316, drill pipe 318, and a bottom hole assembly 320, perhaps located at the lower portion of the drill pipe 318.

The bottom hole assembly 320 may include drill collars 322, a downhole tool 324, and a drill bit 326. The drill bit 326 may operate to create a borehole 312 by penetrating the surface 304 and subsurface geological formations 314. The downhole tool 324 may comprise any of a number of different types of tools including the azimuthal EM logging tool 100.

During drilling operations, the drill string 308 (perhaps including the Kelly 316, the drill pipe 318, and the bottom hole assembly 320) may be rotated by the rotary table 310. In addition to, or alternatively, the bottom hole assembly 320 may also be rotated by a motor (e.g., a mud motor) that is located downhole. The drill collars 322 may be used to add weight to the drill bit 326. The drill collars 322 may also operate to stiffen the bottom hole assembly 320, allowing the bottom hole assembly 320 to transfer the added weight to the drill bit 326, and in turn, to assist the drill bit 326 in penetrating the surface 304 and subsurface formations 314.

During drilling operations, a mud pump 332 may pump drilling fluid (sometimes known by those of skill in the art as “drilling mud”) from a mud pit 334 through a hose 336 into the drill pipe 318 and down to the drill bit 326. The drilling fluid can flow out from the drill bit 326 and be returned to the surface 304 through an annular area 340 between the drill pipe 318 and the sides of the borehole 312. The drilling fluid may then be returned to the mud pit 334, where such fluid is filtered. In some embodiments, the drilling fluid can be used to cool the drill bit 326, as well as to provide lubrication for the drill bit 326 during drilling operations. Additionally, the drilling fluid may be used to remove subsurface formation 314 cuttings created by operating the drill bit 326.

In various embodiments, the azimuthal EM logging tool 100 may be included in a wireline ranging tool 370 coupled to a logging cable 374 such as, for example, for wireline applications. The tool body 370 containing the tool 100 can include electronics to initiate and collect measurements. Such electronics can include a processing unit to provide analysis of data over a standard communication mechanism for operating in a well. Alternatively, electronics can include a communications interface to provide measurement signals collected by the tool 100 to the surface over a standard communication mechanism for operating in a well, where these measurements signals can be analyzed at a processing unit 392 at the surface to provide analysis of data. The logging cable 374 may be realized as a wireline (multiple power and communication lines), a mono-cable (a single conductor), or a slick-line (no conductors for power or communications), or other appropriate structure for use in the borehole 390.

As an example of an operation, the wireline ranging tool 370 (e.g., azimuthal EM logging tool 100) is configured to take ranging measurements from which a relative distance and direction to between a target well 390 and a ranging well 306 are calculated until a desired distance to the target well is reached. The desired distance varies with a frequency used by the azimuthal EM logging tool to take electromagnetic measurements. The azimuthal EM logging tool 100, disposed on the drill string in the ranging well 306 after the desired distance is reached, is configured to take electromagnetic measurements that are compared with the calculated relative distance and direction to calibrate the azimuthal EM logging tool 100 to provide control of the drilling operation to parallel the target well 390, intersect the target well, or avoid the target well. A controller 393 is configured to accept the relative distance and direction and the electromagnetic measurements and determine a calibration function to provide control of the drilling operation.

Many embodiments may be realized. Several examples will now be described.

Example 1 is a method for ranging between a target well and a ranging well, the method comprising determining relative distance and direction from the ranging well to the target well with a wireline tool; calibrating an azimuthal electromagnetic logging tool to the wireline tool in response to a comparison of electromagnetic measurements with the relative distance and direction; and using the azimuthal electromagnetic logging tool on a drill string to maintain or adjust the relative distance while drilling.

In Example 2, the subject matter of Example 1 can further include using the azimuthal electromagnetic logging tool to decrease the relative distance while drilling comprises intersecting with the target well.

In Example 3, the subject matter of Examples 1-2 can further include using the azimuthal electromagnetic logging tool to maintain the relative distance while drilling comprises paralleling the target well to perform a well avoidance operation.

In Example 4, the subject matter of Examples 1-3 can further include determining the relative distance and direction from the ranging well to the target well with the wireline tool comprises calculating the relative distance and direction in response to an electromagnetic signal received from the target well.

In Example 5, the subject matter of Examples 1-4 can further include performing electromagnetic measurements from the drill string; comparing the electromagnetic measurements to the calculated relative distance and direction; and calibrating logging while drilling ranging and azimuth calculations to the wireline tool.

In Example 6, the subject matter of Examples 1-5 can further include determining the relative distance and direction from the ranging well to the target well with the wireline tool comprises taking electromagnetic ranging measurements with the wireline tool, the method further comprising continuing to take electromagnetic ranging measurements with the wireline tool until the distance is reached.

In Example 7, the subject matter of Examples 1-6 can further include using an azimuthal electromagnetic logging tool on a drill string to maintain the relative distance while drilling or decrease the relative distance while drilling comprises transmitting an electromagnetic signal from a transmitting antenna and receiving a reflected electromagnetic signal at a receiving antenna wherein one of the transmitting antenna or the receiving antenna are tilted with respect to a longitudinal axis of the drill string.

In Example 8, the subject matter of Examples 1-7 can further include using an azimuthal electromagnetic logging tool on a drill string to maintain the relative distance while drilling or decrease the relative distance while drilling comprises transmitting an electromagnetic signal from a transmitting antenna and receiving a reflected electromagnetic signal at a receiving antenna wherein both of the transmitting antenna and the receiving antenna are tilted with respect to a longitudinal axis of the drill string.

Example 9 is a method for ranging between a target well and a ranging well, the method comprising: using a wireline tool in the ranging well to perform electromagnetic ranging measurements on the target well; calculating a relative distance and a relative direction from the ranging well to the target well; when a desired distance is reached between the ranging well and the target well, using an azimuthal electromagnetic tool in a drill string to take electromagnetic measurements; calibrating the azimuthal electromagnetic tool to the wireline tool by comparing the electromagnetic measurements to the calculated relative distance and relative direction; and drilling in the ranging well while using the azimuthal electromagnetic tool to parallel the target well, intersect the target well, or avoid the target well.

In Example 10, the subject matter of Example 9 can further include collecting a plurality of relative distance measurements using the wireline tool and the azimuthal electromagnetic tool; and estimating parameters of a calibration function using the plurality of relative distance measurements.

In Example 11, the subject matter of Examples 9-10 can further include dw(zi)=ƒ(dl(zi), p) wherein dw(zi) represents relative distance measurements from the wireline tool at a depth zi, dl(zi) represents relative distance measurements from the azimuthal electromagnetic tool at the depth zi, f represents a mapping function with mapping parameter vector p.

In Example 12, the subject matter of Examples 9-11 can further include wherein the mapping parameter vector p is determined by p=argmin p(dw(zi)−ƒ(dl(zi), p)).

In Example 13, the subject matter of Examples 9-12 can further include calibrating azimuthal electromagnetic tool measurements by dlcal(zi)=ƒ(dl(zi), p) wherein dlcal(zi) is a corrected LWD range measurement at the depth zi.

In Example 14, the subject matter of Examples 9-13 can further include wherein the mapping function comprises ƒ(A, p)=Ap wherein A is an azimuth measurement.

In Example 15, the subject matter of Examples 9-14 can further include wherein the mapping parameter vector p is a function of azimuth angle ϕ.

In Example 16, the subject matter of Examples 9-15 can further include wherein the mapping function comprises ƒ(A, p, ϕ)=A(ϕ)p(ϕ) or ƒ(A, p, ϕ)=A(ϕ)+p(ϕ).

Example 17 is a system comprising: a wireline ranging tool to be used in a ranging well, the wireline ranging tool configured to take ranging measurements from which relative distance and direction to a target well are calculated until a desired distance to the target well is reached; and an azimuthal electromagnetic logging tool to be used on a drill string in the ranging well after the desired distance is reached, the azimuthal electromagnetic logging tool configured to take electromagnetic measurements that are compared with the calculated relative distance and direction to calibrate the azimuthal electromagnetic logging tool to provide control of a drilling operation to parallel the target well, intersect the target well, or avoid the target well.

In Example 18, the subject matter of Example 17 can further include the azimuthal electromagnetic logging tool comprising a transmit coil antenna and a receive coil antenna wherein at least one of the transmit coil antenna or the receive coil antenna are tilted with respect to a longitudinal axis of the wireline logging tool.

In Example 19, the subject matter of Examples 17-18 can further include the azimuthal electromagnetic logging tool comprising a transmit coil antenna and a plurality of receive coil antennas wherein the transmit coil antenna and the plurality of receive coil antennas are tilted with respect to a longitudinal axis of the wireline logging tool.

In Example 20, the subject matter of Examples 17-19 can further include functionality wherein the desired distance varies with a frequency used by the azimuthal logging tool to take electromagnetic measurements.

In Example 21, the subject matter of Examples 17-20 can further include a controller configured to accept the relative distance and direction and the electromagnetic measurements and determine a calibration function to provide control of the drilling operation.

The accompanying drawings that form a part hereof, show by way of illustration, and not of limitation, specific embodiments in which the subject matter may be practiced. The embodiments illustrated are described in sufficient detail to enable those skilled in the art to practice the teachings disclosed herein. Other embodiments may be utilized and derived therefrom, such that structural and logical substitutions and changes may be made without departing from the scope of this disclosure. This Detailed Description, therefore, is not to be taken in a limiting sense, and the scope of various embodiments is defined only by the appended claims, along with the full range of equivalents to which such claims are entitled. 

What is claimed is:
 1. A method for ranging between a target well and a ranging well, the method comprising: determining relative distance and direction from the ranging well to the target well with a wireline tool; calibrating an azimuthal electromagnetic logging tool to the wireline tool in response to a comparison of electromagnetic measurements taken by the azimuthal electromagnetic logging tool with the relative distance and direction; and using the azimuthal electromagnetic logging tool on a drill string to maintain or adjust the relative distance while drilling.
 2. The method of claim 1, wherein using the azimuthal electromagnetic logging tool to decrease the relative distance while drilling comprises drilling the ranging well to intersect the target well.
 3. The method of claim 1, wherein using the azimuthal electromagnetic logging tool to maintain the relative distance while drilling comprises paralleling the target well while drilling to perform a Steam-Assisted Gravity Drainage operation or a well avoidance operation, or a well intersection operation.
 4. The method of claim 1, wherein determining the relative distance and direction from the ranging well to the target well with the wireline tool comprises calculating the relative distance and direction in response to an electromagnetic signal received from the target well.
 5. The method of claim 4, wherein calibrating the azimuthal electromagnetic logging tool comprises: taking electromagnetic measurements from the drill string; comparing the electromagnetic measurements to the calculated relative distance and direction; and calibrating logging while drilling ranging and azimuth calculations to measurements provided by the wireline tool, according to results obtained by the comparing.
 6. The method of claim 1, wherein determining the relative distance and direction from the ranging well to the target well with the wireline tool comprises taking electromagnetic ranging measurements with the wireline tool, the method further comprising continuing to take electromagnetic ranging measurements with the wireline tool until the relative distance is reached.
 7. The method of claim 1, wherein using the azimuthal electromagnetic logging tool on the drill string to maintain or adjust the relative distance while drilling comprises transmitting an electromagnetic signal from a transmitting antenna and receiving a reflected version of the electromagnetic signal at a receiving antenna wherein one of the transmitting antenna or the receiving antenna are tilted with respect to a longitudinal axis of the drill string.
 8. The method of claim 1, wherein using the azimuthal electromagnetic logging tool on the drill string to maintain or adjust the relative distance while drilling comprises transmitting an electromagnetic signal from a transmitting antenna and receiving a reflected version of the electromagnetic signal at a receiving antenna wherein both of the transmitting antenna and the receiving antenna are tilted with respect to a longitudinal axis of the drill string.
 9. A method for ranging between a target well and a ranging well, the method comprising: using a wireline tool in the ranging well to perform electromagnetic ranging measurements on the target well; calculating a relative distance and a relative direction from the ranging well to the target well; using an azimuthal electromagnetic tool in a drill string in the ranging well to take electromagnetic measurements when the relative distance is approximately equal to or less than a desired distance between the ranging well and the target well; calibrating the azimuthal electromagnetic tool to the wireline tool by comparing the electromagnetic measurements to the calculated relative distance and relative direction; and drilling in the ranging well while using the azimuthal electromagnetic tool to control drilling operations to parallel the target well, intersect the target well, or avoid the target well.
 10. The method of claim 9, wherein calibrating the azimuthal electromagnetic tool comprises: collecting a plurality of relative distance measurements using the wireline tool and the azimuthal electromagnetic tool; and estimating parameters of a calibration function using the plurality of relative distance measurements.
 11. The method of claim 10, wherein the calibration function is expressed as d_(w)(z_(i))=ƒ(d_(i)(z_(i)), p), wherein d_(w)(z_(i)) represents relative distance measurements from the wireline tool at a depth z_(i),d_(l)(z_(i)) represents relative distance measurements from the azimuthal electromagnetic tool at the depth z_(i), and ƒ represents a mapping function with mapping parameter vector p.
 12. The method of claim 11, wherein the mapping parameter vector p is determined by p=argmin_(p)(d_(w)(z_(i))−ƒ(d_(l)(z_(i)), p)).
 13. The method of claim 12, further comprising calibrating azimuthal electromagnetic tool measurements according to the relationship d_(lcal)(z_(i))=ƒ(d_(l)(z_(i)), p) wherein d_(lcal)(z_(i)) is a corrected logging while drilling (LWD) range measurement at the depth z_(i).
 14. The method of claim 12, wherein the mapping function comprises ƒ(A, p)=Ap wherein A is an azimuth measurement.
 15. The method of claim 12, wherein the mapping parameter vector p is a function of azimuth angle ϕ.
 16. The method of claim 15, wherein the mapping function comprises ƒ(A, p, ϕ)=A(ϕ)p(ϕ) or ƒ(A, p, ϕ)=A(ϕ)+p(ϕ).
 17. A system comprising: a ranging tool in a ranging well, the ranging tool configured to take first electromagnetic measurements and to calculate a relative distance and direction to a target well; and an azimuthal electromagnetic logging tool disposed on a drill string in the ranging well, the azimuthal electromagnetic logging tool configured to take second electromagnetic measurements after a desired distance is reached and to compare the second measurements with the calculated relative distance and direction to calibrate the azimuthal electromagnetic logging tool to provide control of a drilling operation to parallel the target well, intersect the target well, or avoid the target well.
 18. The system of claim 17, wherein the azimuthal electromagnetic logging tool comprises a transmit coil antenna and a receive coil antenna wherein at least one of the transmit coil antenna or the receive coil antenna are tilted with respect to a longitudinal axis of the wireline logging tool.
 19. The system of claim 17 wherein the azimuthal electromagnetic logging tool comprises a transmit coil antenna and a plurality of receive coil antennas wherein the transmit coil antenna and the plurality of receive coil antennas are tilted with respect to a longitudinal axis of the wireline logging tool.
 20. The system of claim 17, wherein the desired distance varies with a frequency used by the azimuthal logging tool to take electromagnetic measurements.
 21. The system of claim 17, further comprising a controller configured to accept the relative distance and direction and the electromagnetic measurements and determine a calibration function to provide control of the drilling operation. 